<template>
  <div class="box">
    <!-- 头部二号 -->
    <div class="nav">
      <ul>
        <li>
          <router-link
            to="/discover/tui"
            class="daia"
          ><i class="jinglingjiantou"></i>推荐</router-link>
        </li>
        <li>
          <router-link
            :to="{path:'/discover/toplist',query: {id: 19723756}}"
            class="daia"
          >排行榜</router-link>
        </li>
        <li>
          <router-link
            to="/discover/playlist"
            class="daia"
          >歌单</router-link>
        </li>
        <li>
          <router-link
            to="/discover/djradio"
            class="daia"
          >主播电台</router-link>
        </li>
        <li>
          <router-link
            :to="{path:'/discover/artist',query: {type: -1,area:-1,initial:-1}}"
            class="daia"
          >歌手</router-link>
        </li>
        <li>
          <router-link
            to="/discover/album"
            class="daia"
          >新碟上架</router-link>
        </li>
      </ul>
    </div>
    <router-view></router-view>

  </div>

</template>

<script>
export default {
}
</script>

<style lang="less" scoped>
.nav {
  background-color: #c20c0c;
  height: 35px;
  ul {
    margin: 0;
    padding: 0;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    // padding-left: 310px;
    li {
      list-style: none;
      .daia {
        display: inline-block;
        width: 104px;
        height: 34px;
        line-height: 34px;
        text-align: center;
        font-size: 12px;
        text-decoration: none;
        color: #fff;
        position: relative;
        .jinglingjiantou {
          position: absolute;
          left: 42px;
          top: -7px;
          display: inline-block;
          width: 15px;
          height: 8px;
          background-image: url(../../assets/image/jingling.png);
          background-position: -465px 1px;
        }
      }
    }
  }
}
</style>
